/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="TUSS")
public class TussProteu implements Serializable{

    @Id
    @Column(name="TUSS_ST_CODIGO")
    private String tussStCodigo;//nao eh chave primaria no db
    @Column(name="TUSS_ST_DESCRICAO")
    private String tussStDescricao;
    @Column(name="TUSS_ST_COD_AMB90")
    private String tussStCodAmb90;
    @Column(name="TUSS_ST_COD_AMB92")
    private String tussStCodAmb92;
    @Column(name="TUSS_ST_COD_AMB96")
    private String tussStCodAmb96;
    @Column(name="TUSS_ST_COD_AMB99")
    private String tussStCodAmb99;
    @Column(name="TUSS_ST_COD_CIEFAS")
    private String tussStCodCiefas;
    @Column(name="TUSS_ST_COD_3CBHPM")
    private String tussStCod3Cbhpm;
    @Column(name="TUSS_ST_COD_4CBHPM")
    private String tussStCod4Cbhpm;
    @Column(name="TUSS_ST_COD_5CBHPM")
    private String tussStCod5Cbhpm;
    @Column(name="USU_IN_CODIGO")
    private Integer usuInCodigo;
    @Column(name="TUSS_DT_ALTERACAO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date tussDtAlteracao;


    public Date getTussDtAlteracao() {
        return tussDtAlteracao;
    }

    public void setTussDtAlteracao(Date tussDtAlteracao) {
        this.tussDtAlteracao = tussDtAlteracao;
    }

    public String getTussStCod3Cbhpm() {
        return tussStCod3Cbhpm;
    }

    public void setTussStCod3Cbhpm(String tussStCod3Cbhpm) {
        this.tussStCod3Cbhpm = tussStCod3Cbhpm;
    }

    public String getTussStCod4Cbhpm() {
        return tussStCod4Cbhpm;
    }

    public void setTussStCod4Cbhpm(String tussStCod4Cbhpm) {
        this.tussStCod4Cbhpm = tussStCod4Cbhpm;
    }

    public String getTussStCod5Cbhpm() {
        return tussStCod5Cbhpm;
    }

    public void setTussStCod5Cbhpm(String tussStCod5Cbhpm) {
        this.tussStCod5Cbhpm = tussStCod5Cbhpm;
    }

    public String getTussStCodAmb90() {
        return tussStCodAmb90;
    }

    public void setTussStCodAmb90(String tussStCodAmb90) {
        this.tussStCodAmb90 = tussStCodAmb90;
    }

    public String getTussStCodAmb92() {
        return tussStCodAmb92;
    }

    public void setTussStCodAmb92(String tussStCodAmb92) {
        this.tussStCodAmb92 = tussStCodAmb92;
    }

    public String getTussStCodAmb96() {
        return tussStCodAmb96;
    }

    public void setTussStCodAmb96(String tussStCodAmb96) {
        this.tussStCodAmb96 = tussStCodAmb96;
    }

    public String getTussStCodAmb99() {
        return tussStCodAmb99;
    }

    public void setTussStCodAmb99(String tussStCodAmb99) {
        this.tussStCodAmb99 = tussStCodAmb99;
    }

    public String getTussStCodCiefas() {
        return tussStCodCiefas;
    }

    public void setTussStCodCiefas(String tussStCodCiefas) {
        this.tussStCodCiefas = tussStCodCiefas;
    }

    public String getTussStCodigo() {
        return tussStCodigo;
    }

    public void setTussStCodigo(String tussStCodigo) {
        this.tussStCodigo = tussStCodigo;
    }

    public String getTussStDescricao() {
        return tussStDescricao;
    }

    public void setTussStDescricao(String tussStDescricao) {
        this.tussStDescricao = tussStDescricao;
    }

    public Integer getUsuInCodigo() {
        return usuInCodigo;
    }

    public void setUsuInCodigo(Integer usuInCodigo) {
        this.usuInCodigo = usuInCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final TussProteu other = (TussProteu) obj;
        if ((this.tussStCodigo == null) ? (other.tussStCodigo != null) : !this.tussStCodigo.equals(other.tussStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 67 * hash + (this.tussStCodigo != null ? this.tussStCodigo.hashCode() : 0);
        return hash;
    }



}
